package cn.tedu.web.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import cn.tedu.web.entity.Goods;

/**
 * <p>
 * 商品表 服务类
 * </p>
 *
 * @author issen
 * @since 2021-09-24
 */
public interface IGoodsService extends IService<Goods> {
    public Integer saveGoods(Goods goods);

    public Integer updateGoods(Goods goods);

    public IPage<Goods> listGoods(int pageNum, int pageSize);

    public Integer deleteGoods(Goods goods);

    public Goods listDetail(Goods goods);
}
